<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('AdminCategory/index')}">会议分类</a></li>
        <li><a href="{:url('AdminCategory/add')}">添加分类</a></li>
    </ul>

    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th>名称</th>
            <th width="130">{:lang('ACTIONS')}</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="categories" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.name}</td>
                <td>
                    <a href='{:url("AdminCategory/edit",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
                    <a class="js-ajax-delete" href="{:url('AdminCategory/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination"></div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>